<div style="height: 350px">
  <h3>{{testItem.title}}</h3>
  <div>
    测试方法：
    <p style="text-indent:2em">{{testItem.testMethod}}</p>
  </div>

  <ng-container *ngIf="testItem.key==='audioTest'">
    <div>
      <i (click)="startRecording()" nz-icon nzType="play-circle" nzTheme="fill" style="font-size: 24px;color: #3B8DF1"></i><span class="pl-2">开始测试</span>
    </div>
    <div class="pt-2">
      <nz-spin nzSimple *ngIf="progress!==100&&progress!==0" style="display:inline-block;"></nz-spin>
      <span>{{progressInfo}}</span>

    </div>
    <div>
      <nz-progress [nzPercent]="progress" [nzShowInfo]="false" style="width: 200px;display: inline-block;"></nz-progress>
    </div>
  </ng-container>
  <div>
    <nz-radio-group [(ngModel)]="result.passed">
      <label nz-radio nzValue="Y">测试通过</label>
      <label nz-radio nzValue="N">测试不通过</label>
    </nz-radio-group>
  </div>
  <div class="pt-2">
    <label>测试结果描述：</label>
    <textarea
      [(ngModel)]="result.info"
      nz-input
      placeholder=""
      [nzAutosize]="{ minRows: 2, maxRows: 6 }"
    ></textarea>
  </div>


</div>
